@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
// @import './iconfont.scss';

@import './tools/index';

@import './settings/index';

@import './generic/index';

body {
  font-size: 12px;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.full-height {
  height: 100%;
  .flex-grow-1 {
    height: 0;
  }
}
.full-width {
  width: 100%;
}

// 溢出
.overflow-hidden{overflow: hidden;}
.overflow-auto{overflow: auto;}
.overflow-x-hidden{overflow-x:hidden;}
.overflow-x-auto{overflow-x:auto;}
.overflow-y-hidden{overflow-y:hidden;}
.overflow-y-auto{overflow-y:auto;}

.el-tooltip__popper {
  max-width: 300px;
}
// 左侧主题边框
.title-border-left {
  border-left: 4px solid #2a8ce1;
  line-height: 16px;
  padding-left: 16px;
  font-size: 14px;
  margin: 9px 0;
}
// 自定义drawer的form
.drawer-form {
  // 修改选择器内容
  .el-select {
    width: 100%;
  }
  // 修改上传文件样式
  .el-upload-list--picture-card .el-upload-list__item,
  .el-upload--picture-card {
    width: 60px;
    height: 60px;
    line-height: 70px;
  }
  .el-upload-list__item.is-success .el-upload-list__item-status-label {
    line-height: 1;
  }
}
.el-drawer__header {
  padding: 20px;
  margin: 0;
  border-bottom: 1px solid #C6D8E6;
  &>:first-child {
    font-size: 18px;
    color: #292929;
  }
}
.drawer__footer {
  width: 100%;
  padding: 20px;
  background: #FFFFFF;
  box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.1);
}
